package java67_19;

import java67_18.Caculator;

public class FinalTest {

	public static void main(String[] args) {
		final Caculator c = new Caculator("卡西欧");
		c.setBrand("罗密欧");
		// c = new Caculator("罗密欧");
		System.out.println(c);
		int h = c.jia(3, 4);
		System.out.println(h);
		int he = c.jia(1, 2, 3, 6, 7, 9, 10);
		System.out.println(he);
		int h3 = c.jia(14);
		System.out.println(h3);
		int h4 = c.jia();
		System.out.println(h4);
	}

}
